﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="@Url.Content("~/content/default/css/bootstrap.min.css")">
    <link rel="stylesheet" href="@Url.Content("~/content/default/css/style.css")" rel="stylesheet" type="text/css"/>
    <script src="@Url.Content("~/content/default/js/jquery.min.js")"></script>
    <script src="@Url.Content("~/content/default/js/bootstrap.min.js")"></script>
    <script>
        window.onload = function () {
            if (document.documentElement.scrollHeight <= document.documentElement.clientHeight) {
                bodyTag = document.getElementsByTagName('body')[0];
                bodyTag.style.height = document.documentElement.clientWidth / screen.width * screen.height + 'px';
            }
            setTimeout(function () {
                window.scrollTo(0, 1)
            }, 0);
        };
		</script>
</head>
<body>
    <div id="wrapper">
        <div class="navbar navbar-default visible-desktop"  role="navigation">
            <div class="container">
                <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                      <span class="sr-only">Toggle navigation</span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                    </button>
                <a title="" href="/" class="navbar-brand">
                    <img width="128" height="34" src="@Url.Content("~/content/default/img/logo.png")"
                        alt="STYLIGHT" class="hidden-phone">
                    <i class="icon-logo visible-phone"></i></a>
                    </div>
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                  <li class="active"><a href="#">Vote</a></li>
                  <li><a href="#">PK</a></li>
                  <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                      <li><a href="#">Action</a></li>
                      <li><a href="#">Another action</a></li>
                      <li><a href="#">Something else here</a></li>
                      <li class="divider"></li>
                      <li><a href="#">Separated link</a></li>
                      <li class="divider"></li>
                      <li><a href="#">One more separated link</a></li>
                    </ul>
                  </li>
                </ul>
                <form class="navbar-form navbar-left" role="search">
                  <div class="form-group">
                    <input type="text" class="form-control" placeholder="Search">
                  </div>
                  <button type="submit" class="btn btn-default">Submit</button>
                </form>
                <ul class="nav navbar-nav navbar-right">
                  <li><a href="@Url.Action("login", "account")">登录</a></li>
                  <li><a href="@Url.Action("register", "account")">注册</a></li>
                </ul>
              </div>
                
            </div>
        </div>
        <header>
            <div class="topnav">
                <ul class="nav nav-pills" id="topmenu">
                    <li><a href="@Url.Action("Login", "Account")">图片</a></li>
                    <li><a href="@Url.Action("Login", "Account")">社会</a></li>
                    <li><a href="@Url.Action("Login", "Account")">购物</a></li>
                </ul>
                <ul class="nav nav-pills" id="loginul">
                    <li><a href="@Url.Action("login", "account")"><span class="glyphicon glyphicon-user">
                    </span>登录</a></li>
                    <li><a href="@Url.Action("register", "account")">注册</a></li>
                    <li><a href="@Url.Action("add", "topic")">发布</a></li>
                </ul>
            </div>
            <div class="container">
                <h1>
                    驰创科技 <small>mvc框架</small></h1>
            </div>
        </header>
        <div class="container">
            @RenderBody()
        </div>
        <footer>Copyright By Chichuang.com</footer>
    </div>
</body>
</html>
